#ifndef ZGRAPHICSDROPSHADOWEFFECT_H
#define ZGRAPHICSDROPSHADOWEFFECT_H

#include <QGraphicsDropShadowEffect>
#include <QObject>
#include <QPainter>

class ZGraphicsDropShadowEffect : public QGraphicsDropShadowEffect
{
    Q_OBJECT
public:
    explicit ZGraphicsDropShadowEffect(QObject *parent = nullptr);
    ~ZGraphicsDropShadowEffect();

    // QGraphicsEffect interface
public:
    QRectF boundingRectFor(const QRectF &sourceRect) const;

protected:
    void draw(QPainter *painter);

};

#endif // ZGRAPHICSDROPSHADOWEFFECT_H
